public class AreaCalculator
{
	public int Area(Rectangle[] shapes)
	{
		int area = 0;
		for(int i = 0; i < shapes.length; i++)
		{
			area += shapes[i].getWidth() * shapes[i].getHeight();
		}
		return area;
	}

	public float Area(Circle[] shapes)
        {
                float area = 0;

                for(int i = 0; i < shapes.length; i++)
                {
                        area += shapes[i].getRadius() * shapes[i].getRadius() * 3.141592;
                }
                return area;
        }

}
